package cn.com.nes.mybatis.agent.monitor.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * <p>
 * 材质分类二级
 * </p>
 *
 * @author nes
 * @since 2023-04-14
 */
@TableName("hy_timbering")
public class HyTimbering extends Model<HyTimbering> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "Id", type = IdType.AUTO)
    private Integer Id;
    @TableField("TTId")
    private Integer TTId;
    /**
     * 干密度
     */
    @TableField("GMD")
    private Double gmd;
    /**
     * 导热系数
     */
    @TableField("DrXs")
    private Double DrXs;
    /**
     * 比热容
     */
    @TableField("BRr")
    private Double BRr;
    @TableField("Version")
    private Long Version;
    @TableField("CommonFlag")
    private Integer CommonFlag;
    @TableField("Name")
    private String Name;


    public Integer getId() {
        return Id;
    }

    public void setId(Integer Id) {
        this.Id = Id;
    }

    public Integer getTTId() {
        return TTId;
    }

    public void setTTId(Integer TTId) {
        this.TTId = TTId;
    }

    public Double getGmd() {
        return gmd;
    }

    public void setGmd(Double gmd) {
        this.gmd = gmd;
    }

    public Double getDrXs() {
        return DrXs;
    }

    public void setDrXs(Double DrXs) {
        this.DrXs = DrXs;
    }

    public Double getBRr() {
        return BRr;
    }

    public void setBRr(Double BRr) {
        this.BRr = BRr;
    }

    public Long getVersion() {
        return Version;
    }

    public void setVersion(Long Version) {
        this.Version = Version;
    }

    public Integer getCommonFlag() {
        return CommonFlag;
    }

    public void setCommonFlag(Integer CommonFlag) {
        this.CommonFlag = CommonFlag;
    }

    public String getName() {
        return Name;
    }

    public void setName(String Name) {
        this.Name = Name;
    }

    public static final String ID = "Id";

    public static final String TTID = "TTId";

    public static final String GMD = "GMD";

    public static final String DRXS = "DrXs";

    public static final String BRR = "BRr";

    public static final String VERSION = "Version";

    public static final String COMMONFLAG = "CommonFlag";

    public static final String NAME = "Name";

    @Override
    public Serializable pkVal() {
        return this.Id;
    }

    @Override
    public String toString() {
        return "HyTimbering{" +
        ", Id=" + Id +
        ", TTId=" + TTId +
        ", gmd=" + gmd +
        ", DrXs=" + DrXs +
        ", BRr=" + BRr +
        ", Version=" + Version +
        ", CommonFlag=" + CommonFlag +
        ", Name=" + Name +
        "}";
    }
}
